/**
 * api接口统一管理
 */
import { api } from '@server/request.js'
//例
export function getDictionaryData(param) {
    var result = get(`/dicase/dictionary/${param}`);
    return result;
}


//登录
export function login(data) {
    return api.post(`/caselibraryv2_0/user/login`, data);
}
//通過token获取用户信息
export function getUserInfo() {
    return api.get(`/caselibraryv2_0/user/getMessage`);
}